package com.xunk.scene.domain;

import com.alibaba.fastjson.annotation.JSONField;
import com.xunk.common.core.web.domain.BaseEntity;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @ProjectName: HIM
 * @Package: com.xunk.scene.domain
 * @ClassName: SceneIcon
 * @Author: luanzhiwei
 * @Description: 场景头像实体类
 * @Date: 2021/5/24 18:36
 * @Version: 1.0
 */
@Data
@NoArgsConstructor
@ToString
@EqualsAndHashCode
public class SceneIcon extends BaseEntity implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 自增主键
     */
    private Long id;

    /**
     * 图片名称，用于APP展示
     */
    @NotEmpty(message = "图片名称不能为空", groups = {Add.class})
    private String iconName;

    /**
     * pad选中图片路径，反色图片路径
     */
    private String selectedPath;

    /**
     * pad未选中图片路径，正常图片路径
     */
    private String unselectedPath;
    /**
     * APP选中图标
     */
    @JSONField(serialize = false)
    private String appSelectedPath;
    /**
     * APP未选中图标
     */
    @JSONField(serialize = false)
    private String appUnselectedPath;

    /**
     * 删除标识0 未删除 1 删除
     */
    private String delFlag;

    public interface Add {
    }

    public interface Model {
    }
}
